# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

add_subdirectory(json)
add_subdirectory(qcborstreamreader)
if(QT_FEATURE_cborstreamwriter)
    add_subdirectory(qcborstreamwriter)
endif()
add_subdirectory(qcborvalue)
if (NOT QT_BUILD_WASM_BATCHED_TESTS)
	add_subdirectory(qcborvalue_json)
endif()
if(TARGET Qt::Gui)
    add_subdirectory(qdatastream)
    add_subdirectory(qdatastream_core_pixmap)
endif()
if(TARGET Qt::Network AND NOT WASM)
    add_subdirectory(qtextstream)
endif()
if(TARGET Qt::Gui AND TARGET Qt::Network AND TARGET Qt::Xml AND NOT INTEGRITY AND NOT QNX AND NOT WASM)
    add_subdirectory(qxmlstream)
endif()
